<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>demo实例</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">

  <!-- Link Swiper's CSS -->
  <link rel="stylesheet" href="./css/swiper.min.css">

  <!-- Demo styles -->
  <style>
    .swiper-wrapper{
      width: 300px;
      height: 200px;
    }
    img{
      width: 100%;
      height: 100%;
    }
  </style>
</head>
<body>
  <!-- Swiper -->
  <div class="swiper-container swiper1">
    <div class="swiper-wrapper">
      <div class="swiper-slide">
        <img src="./images/1.png" alt="">
      </div>
      <div class="swiper-slide">
        <img src="./images/2.png" alt="">
      </div>
      <div class="swiper-slide">
        <img src="./images/3.png" alt="">
      </div>
    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination swiper-pagination1"></div>
  </div>

  <!-- Swiper -->
  <div class="swiper-container swiper2">
    <div class="swiper-wrapper">
      <div class="swiper-slide">
        <img src="./images/1.png" alt="">
      </div>
      <div class="swiper-slide">
        <img src="./images/2.png" alt="">
      </div>
      <div class="swiper-slide">
        <img src="./images/3.png" alt="">
      </div>
    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination swiper-pagination2"></div>
  </div>

  <!-- Swiper -->
  <div class="swiper-container swiper3">
    <div class="swiper-wrapper">
      <div class="swiper-slide">
        <img src="./images/1.png" alt="">
      </div>
      <div class="swiper-slide">
        <img src="./images/2.png" alt="">
      </div>
      <div class="swiper-slide">
        <img src="./images/3.png" alt="">
      </div>
    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination swiper-pagination3"></div>
  </div>

  <!-- Swiper JS -->
  <script src="./script/swiper.min.js"></script>

  <!-- Initialize Swiper -->
  <script>
    var swiper1 = new Swiper('.swiper1', {
      spaceBetween: 30,
      pagination: {
        el: '.swiper-pagination1',
        clickable: true,
      },
    });
    var swiper2 = new Swiper('.swiper2', {
      spaceBetween: 30,
      pagination: {
        el: '.swiper-pagination2',
        clickable: true,
      },
    });
    var swiper3 = new Swiper('.swiper3', {
      spaceBetween: 30,
      pagination: {
        el: '.swiper-pagination3',
        clickable: true,
      },
    });
  </script>
</body>
</html>
